#!/bin/bash

pid=$(ps aux | grep 'python run.py' | grep -v grep | awk '{print $2}')
if [ ! -z "$pid" ]; then
    echo "Stopping process: $pid"
    kill $pid
    echo "Process stopped"
else
    echo "No running process found"
fi 